<script setup>
	import {ref} from 'vue'
	import Person from './components/Person.vue';
	
	let per = ref()
	
	function show() {
		console.log(per.value)
		console.log(per.value.name)
		console.log(per.value.age)
	}
	
</script>

<template>
	<Person ref="per"/>
	<button @click="show">测试</button>
</template>

<style scoped>

</style>
